//test project, this project will be hooked  
#include <Windows.h>  
#include <stdio.h>  

void main()
{
	OutputDebugStringW(L"this process will be inject hook dll.\n");
	printf("ProcessID:%d ThreadID:%d", GetCurrentProcessId(), GetCurrentThreadId());
	while (true)
	{
		MessageBoxA(NULL, "MessageBoxA", "MessageBoxA TEST", MB_OKCANCEL);
		int ret = MessageBoxW(NULL, L"MessageBoxW", L"MessageBoxW TEST", MB_YESNOCANCEL);
		if (ret == IDNO)   break;
	}
	getchar();
}